package com.qingyun.edusysteam.utils;

public class RedisConstants {
    public static final String LOGIN_CODE_KEY = "login:code";
    public static final String LOGIN_USER_KEY = "login:token:";
    public static final Long LOGIN_USER_TTL = 30L;

    // PDF任务相关常量（将队列作为Stream Key使用）
    public static final String PDF_TASK_QUEUE = "pdf:task:queue";
    public static final String PDF_TASK_STATUS = "pdf:task:status:";
    public static final Long PDF_TASK_TTL = 24L; // 24小时

    // Redis Stream 消费组/消费者
    public static final String PDF_TASK_GROUP = "pdf_task_group";
    public static final String PDF_TASK_CONSUMER = "pdf_consumer_1";

    // Stream 字段
    public static final String FIELD_FEEDBACK_ID = "feedbackId";
}